﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ImageRecognition2.Forms
{
    public partial class FormFrameAccess : Form
    {
        public FormFrameAccess()
        {
            InitializeComponent();
        }

        private void cbNextFrame_Click(object sender, EventArgs e)
        {
            MainFormSingleton.ActivePictureBox.BackgroundImage = MainFormSingleton.AVI.GetNextFrame();
            this.nudFrame.Value = MainFormSingleton.AVI.Position;
        }
    }
}
